package Day23;

public class Text3 {
    public static void main(String[] args) {
        //debug演示代码实例
        int res = 0;
        for(int i =0 ; i < 5; i++){
            res += i;
            System.out.println("i = " + i);
            System.out.println("sum = " + res);
        }
        System.out.println("退出方法了");
    }
}
